package ikelib;
import ikelib.DelayThreadInterface;

/**
 * 
 */

/**
 * @author ikechan
 *
 *  指定時間待って、onDelayCallback　処理を呼び出す
 */
public class DelayThread extends Thread {
	public DelayThreadInterface Parent = null;
 	public int Millisec = 100;
	public int Hint = 0;
	
	public void run(){
		try {
			sleep(Millisec);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		Parent.onDelayCallback(Hint);
	}
	
}
